//
//  WHUserAccount.swift
//  WHSinaWeiBo
//
//  Created by 王寒 on 16/4/9.
//  Copyright © 2016年 wanghan. All rights reserved.
//

import UIKit

class WHUserAccount: NSObject {

    
    var access_token: String?
    
    
    var expires_in: NSTimeInterval = 0{
        didSet{
            expires_data = NSDate(timeIntervalSinceNow: expires_in)
        }
    }
    
    var uid: String?
    
    var name: String?
    
    var avatar_large: String?
    
    var expires_data: NSDate?
    
    init(dict: [String : AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dict)
    }

    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
}
